[release-1.10] fix(values): consistent usage of postgresql.adminPasswordKey (#44) - #404
Merged
Conversation
…developer#44) * fix(values): consistent usage of postgresql.adminPasswordKey * fix(backstage): consistent usage of postgresql.adminPasswordKey Replace hard-coded `postgres-password` key in POSTGRESQL_ADMIN_PASSWORD env vars with the new `rhdh.postgresql.adminPasswordKey` helper, so overriding `upstream.postgresql.auth.secretKeys.adminPasswordKey` is consistently respected by both the Backstage and PostgreSQL containers. --------- Co-authored-by: Corey Daley <cdaley@redhat.com> Co-authored-by: Armel Soro <armel@rm3l.org> Co-authored-by: Armel Soro <asoro@redhat.com> Co-authored-by: Fortune Ndlovu <fndlovu@redhat.com>
Code Review by Qodo
1. Overcomplex Values access
|
Review Summary by QodoConsistent usage of postgresql.adminPasswordKey across containers
WalkthroughsDescription• Add new helper template for consistent PostgreSQL admin password key resolution • Replace hard-coded postgres-password key with helper in Backstage container • Replace hard-coded postgres-password key with helper in PostgreSQL container • Bump chart version to 5.12.2 Diagramflowchart LR
A["Hard-coded postgres-password keys"] -->|"Replace with helper"| B["rhdh.postgresql.adminPasswordKey template"]
B -->|"Supports override"| C["upstream.postgresql.auth.secretKeys.adminPasswordKey"]
B -->|"Applied to"| D["Backstage container env"]
B -->|"Applied to"| E["PostgreSQL container env"]
File Changes1. charts/backstage/Chart.yaml
|
…usage-of-postgresql-adminPasswordKey
|
New changes are detected. LGTM label has been removed. |
|
openshift-merge-bot
Bot
merged commit May 18, 2026
1d250ee
into
redhat-developer:release-1.10
6 checks passed
rm3l
deleted the
cherry-pick/release-1.10/consistent-usage-of-postgresql-adminPasswordKey
branch
May 18, 2026 08:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Manual cherry-pick of #44